package dao;

/**
 *
 * @author Fagner
 */
public class Dao extends GenericDAO<Object> {
	
    public void salvar(Object obj){
    	savePojo(obj);
    }
    
    public void remove(Object obj){
    	removePojo(obj);
    }
    
    public void alterar(Object obj){
    	alterarPojo(obj);
    }
    
    public boolean isValidaLogin(String Login, String Senha){
	      return ValidaLogin( "from Usuario usr where usr.nome =" + "'" + Login + "'" + " and usr.senha =" + "'" + Senha + "'");

    }
    

    		
    

      
}
    

    
    
